package com.tripwego.client.ui.widget;

import com.google.gwt.user.client.ui.ToggleButton;
import com.tripwego.client.model.DayModel;

public class ToggleButtonDayWidget extends ToggleButton {

	private DayModel dayModel;

	public ToggleButtonDayWidget(DayModel dayModel) {
		super(dayModel.getName());
		this.dayModel = dayModel;
		setWidth("60px");
	}

	/**
	 * @return the dayModel
	 */
	public DayModel getDayModel() {
		return dayModel;
	}

	/**
	 * @param dayModel
	 *            the dayModel to set
	 */
	public void setDayModel(DayModel dayModel) {
		this.dayModel = dayModel;
	}

}
